package com.yanqu.road.entity.log.chefduel;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_chef_duel_phase1_modify",desc = "厨神争霸一阶段改装日志",autoSave = true,uploadCk = true,dataUpload = true,eventName = "hotelone_reform")
public class LogChefDuelPhase1Modify extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "使用体力数量",dataAttribute = "seagod_usepow")
    private int useEnergy;
    @FieldTypeAnnotation(desc = "改造品质id",dataAttribute = "quelity")
    private int quality;
    @FieldTypeAnnotation(desc = "设施获得经验",dataAttribute = "hotelone_getexp")
    private String buildExp;
    @FieldTypeAnnotation(desc = "获得积分",dataAttribute = "witch_score")
    private int getScoreNum;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getUseEnergy() {
        return useEnergy;
    }

    public void setUseEnergy(int useEnergy) {
        this.useEnergy = useEnergy;
    }

    public int getQuality() {
        return quality;
    }

    public void setQuality(int quality) {
        this.quality = quality;
    }

    public String getBuildExp() {
        return buildExp;
    }

    public void setBuildExp(String buildExp) {
        this.buildExp = buildExp;
    }

    public int getGetScoreNum() {
        return getScoreNum;
    }

    public void setGetScoreNum(int getScoreNum) {
        this.getScoreNum = getScoreNum;
    }

    public LogChefDuelPhase1Modify(int activityId, long userId, int useEnergy, int quality, String buildExp, int getScoreNum) {
        this.activityId = activityId;
        this.userId = userId;
        this.useEnergy = useEnergy;
        this.quality = quality;
        this.buildExp = buildExp;
        this.getScoreNum = getScoreNum;
    }

    @Override
    public long getUserId() {
        return userId;
    }
}
